/*
 * @Author: liaoyu1992 1519778181@qq.com
 * @Date: 2022-11-03 22:49:24
 * @LastEditors: liaoyu1992 1519778181@qq.com
 * @LastEditTime: 2022-11-03 22:52:24
 * @FilePath: \kgantt\core\types\barTask.ts
 * @Description: 甘特条
 */
import { Task, TaskType } from "./publicTypes";
export type TaskTypeInternal = TaskType | "smalltask";
export interface BarTask extends Task {
    index: number;
    typeInternal: TaskTypeInternal;
    x1: number;
    x2: number;
    y: number;
    height: number;
    progressX: number;
    progressWidth: number;
    barCornerRadius: number;
    handleWidth: number;
    barChildren: BarTask[];
    styles: {
        backgroundColor: string;
        backgroundSelectedColor: string;
        progressColor: string;
        progressSelectedColor: string;
    };
}